package small.woods;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @description: MsSearch启动类 : elasticsearch服务提供
 * 基于ElasticSearch6
 * 1、目前spring-boot-starter-data-elasticsearch还不支持Elasticsearch 6.X版本
 * 2、spring boot2.X版本必须使用Elasticsearch5.X版本
 * 3、Elasticsearch 2.X的版本必须使用spring boot1.5版本
 * @author: yutingting
 * @create: 2022-01-07 23:25
 **/
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class MsSearchApplication {
    public static void main(String[] args) {
        SpringApplication.run(MsSearchApplication.class);
    }
}
